package com.alangyun.remind.vo.dt;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class DtTable implements Serializable {

	private Boolean ordering = false;
	private Boolean searching = false;
	private Boolean bFilter = false;
	private Boolean info = false;
	private Boolean paging = false;
	private Boolean bAutoWidth = false;
	private Boolean bDestroy = true;
	private List<DtColumn> aoColumns;
	private List<String> data;

	public static DtTable create() {
		DtTable ret= new DtTable();
		ret.aoColumns = new ArrayList<>();
		ret.data = new ArrayList<>();
		
		return ret;
	}
	
	public Boolean getOrdering() {
		return ordering;
	}

	public Boolean getSearching() {
		return searching;
	}

	public Boolean getbFilter() {
		return bFilter;
	}

	public Boolean getInfo() {
		return info;
	}

	public Boolean getPaging() {
		return paging;
	}

	public Boolean getbAutoWidth() {
		return bAutoWidth;
	}

	public Boolean getbDestroy() {
		return bDestroy;
	}

	public List<DtColumn> getAoColumns() {
		return aoColumns;
	}

	public List<String> getData() {
		return data;
	}

	public DtTable setOrdering(Boolean ordering) {
		this.ordering = ordering;
		return this;
	}

	public DtTable setSearching(Boolean searching) {
		this.searching = searching;
		return this;
	}

	public DtTable setbFilter(Boolean bFilter) {
		this.bFilter = bFilter;
		return this;
	}

	public DtTable setInfo(Boolean info) {
		this.info = info;
		return this;
	}

	public DtTable setPaging(Boolean paging) {
		this.paging = paging;
		return this;
	}

	public DtTable setbAutoWidth(Boolean bAutoWidth) {
		this.bAutoWidth = bAutoWidth;
		return this;
	}

	public DtTable setbDestroy(Boolean bDestroy) {
		this.bDestroy = bDestroy;
		return this;
	}

	public DtTable setAoColumns(List<DtColumn> aoColumns) {
		this.aoColumns = aoColumns;
		return this;
	}

	public DtTable setData(List<String> data) {
		this.data = data;
		return this;
	}

}
